#!/usr/bin/env python
# -*- coding:utf-8 -*-
# @Time: 2022/12/22 13:37
# @Author: scg
# @Email: xxx@gmail.com
# @File：base_page.py
from config.config import HOST


class BasePage:

    def __init__(self, driver):
        self.driver = driver
        self.url = "http://{}{}".format(HOST, self.url)

    def open(self):
        self.driver.get(self.url)
